import React, { Component } from 'react'
import FuncDefault from './FuncDefault'
import ClassDefault from './ClassDefault'
import ValidateComp,{B,A} from './ValidateComp'
import Comp from './Comp'
// import  from './ValidateComp'
export default class App extends Component {
  render() {
    return (
      <div>
        <FuncDefault/>
        <ClassDefault />
        <ValidateComp
          d={<Comp>d</Comp>}
          e={<Comp>e</Comp>}
          F={Comp}
          g={ new B()}
          sex={'男'}
          h={[1,'dasda']}
          i={
            {
              a:2,
              b:'12',
              c:'2sd'
            }
          }
          j={{
            a:1,
            c:2,
          }}
          score={{
            a:1,
            b:2
          }}
        ></ValidateComp>
      </div>
    )
  }
}
